package stu.khy.ssm.entity;

import java.util.Date;

public class AdPromotion {
	/** 主键id */
    private int id ;
    /** appId（来源于：app_info表的主键id） */
    private int appid ;
    /** 广告图片存储路径 */
    private String adpicpath ;
    /** 广告点击量 */
    private int adpv ;
    /** 轮播位（1-n） */
    private int carouselposition ;
    /** 起效时间 */
    private Date starttime ;
    /** 失效时间 */
    private Date endtime ;
    /** 创建者（来源于backend_user用户表的用户id） */
    private int createdby ;
    /** 创建时间 */
    private Date creationdate ;
    /** 更新者（来源于backend_user用户表的用户id） */
    private int modifyby ;
    /** 最新更新时间 */
    private Date modifydate ;
	@Override
	public String toString() {
		return "AdPromotion [id=" + id + ", appid=" + appid + ", adpicpath=" + adpicpath + ", adpv=" + adpv
				+ ", carouselposition=" + carouselposition + ", starttime=" + starttime + ", endtime=" + endtime
				+ ", createdby=" + createdby + ", creationdate=" + creationdate + ", modifyby=" + modifyby
				+ ", modifydate=" + modifydate + "]";
	}
	public AdPromotion() {
		super();
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setAppid(int appid) {
		this.appid = appid;
	}
	public void setAdpicpath(String adpicpath) {
		this.adpicpath = adpicpath;
	}
	public void setAdpv(int adpv) {
		this.adpv = adpv;
	}
	public void setCarouselposition(int carouselposition) {
		this.carouselposition = carouselposition;
	}
	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}
	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}
	public void setCreatedby(int createdby) {
		this.createdby = createdby;
	}
	public void setCreationdate(Date creationdate) {
		this.creationdate = creationdate;
	}
	public void setModifyby(int modifyby) {
		this.modifyby = modifyby;
	}
	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}
}
